    {{#isHeaderParam}}
      val {{paramName}} = request.getHeader("{{paramName}}")
    {{/isHeaderParam}}